package org.message.util
{
	import org.tools.ui.rule.IStateRendererRule;

	public class SimpleStateRendererRule implements IStateRendererRule
	{
		public function SimpleStateRendererRule()
		{
		}

		public function convert(value:String):String
		{			
			if("1" == value)
			{
				return "未回复";
			}
			else if("2" == value)
			{
				return "已回复";
			}
			else
			{
				return "";
			}
		}
		
	}
}